<?php
/**
 * A submit image button
 *
 *
 */
class imageButton extends input
{

    function imageButton($id=NULL, $value=NULL, $src=NULL, $class = NULL, $label=NULL)
    {
        parent::input($id, "image", $class, $label);
        $this->setValue($value);
        $this->addAttribute('src', $src);
    }
}
?>